package com.dao;

import com.pojo.Teacher;

import java.util.List;

public interface TeacherDao {
    int addTeacher(Teacher teacher);

    int deleteTeacherById(Long id);

    int updateTeacher(Teacher teacher);

    Teacher queryById(Long id);

    List<Teacher> queryAllTeacher();
}
